home *** CD-ROM | disk | FTP | other *** search
/ Assassins - Ultimate CD Games Collection 2 / Assassins 2 - Ultimate Games No. 2 (1995)(Weird Science)[!][Amiga-CD32-CDTV].iso / puzzles / sokomond / install / sokomond-installation < prev   
Text File  |  1994-09-21  |  3KB  |  94 lines

  1. ; $VER: InstallSokomond 1.0 (12-Sep-94)
  2.  
  3. ;-- Language specific string definitions --------------------------------------
  4.  
  5. ; DEUTSCH -----------------------------
  6. (procedure deutsch (
  7.     (set BLA.DEST "Wohin soll \"Sokomond\" installiert werden?\n(Ein neuer Ordner mit dem Namen \"Sokomond\" wird erzeugt)")
  8.     (set BLA.CPY "Kopiere %s nach %s.")
  9.     (set BLA.OWR "%s existiert bereits. Überschreiben?")
  10.     (set BLA.FNT "Der 2001-Font existiert schon. Solange \"Sokomond\" gespielt werden möchte [das wäre dann für immer :-)] diesen bitte nicht löschen!")
  11.     (set BLA.JOU "Ja")
  12.     (set BLA.NIX "Nein")
  13. ))
  14.  
  15. ; ENGLISH -----------------------------
  16. (procedure english (
  17.     (set BLA.DEST "Where would you like \"Sokomond\" to be installed?\n(A new drawer named \"Sokomond\" will be created)")
  18.     (set BLA.CPY "Copying %s to %s.")
  19.     (set BLA.OWR "%s already exists. Overwrite?")
  20.     (set BLA.FNT "The 2001-Font already exists. Please do never overwrite it because \"Sokomond\" still needs this one!")
  21.     (set BLA.JOU "Yes")
  22.     (set BLA.NIX "No")
  23. ))
  24.  
  25.  
  26. (if (= @language "deutsch") (deutsch))
  27. (if (= @language "english") (english))
  28.  
  29. (set @default-dest
  30.  (tackon
  31.   (askdir
  32.    (prompt BLA.DEST)
  33.    (help @askdir-help)
  34.    (default @default-dest)
  35.    (newpath))
  36.   "Sokomond"
  37.  )
  38. )
  39.  
  40. (copyfiles  (prompt (BLA.CPY "Sokomond" @default-dest))
  41.             (help @copyfiles-help)
  42.             (source "/")
  43.             (dest @default-dest)
  44.             (pattern "~(#?s|install#?)")
  45.             (infos)
  46. )
  47.  
  48. (if (exists "/libs/amos.library" (noreq))
  49.  (
  50.   (if (exists "LIBS:amos.library" (noreq))
  51.    (
  52.     (if (askbool (prompt (BLA.OWR "LIBS:amos.library"))
  53.                  (help @askbool-help)
  54.                  (default 0)
  55.                  (choices BLA.JOU BLA.NIX))
  56.      (
  57.       (copyfiles  (help @copyfiles-help)
  58.                   (source "/Libs/amos.library")
  59.                   (dest "LIBS:")
  60.                   (optional "nofail"))
  61.       )
  62.      )
  63.     )
  64.    (
  65.     (copyfiles  (prompt (BLA.CPY "\"amos.library\"" "LIBS:"))
  66.                 (help @copyfiles-help)
  67.                 (source "/Libs/amos.library")
  68.                 (dest "LIBS:")
  69.                 (confirm)
  70.     )
  71.    )
  72.   )
  73.  )
  74. )
  75.  
  76. (if (exists "/fonts/2001.font"  (noreq))
  77.  (
  78.   (if (exists "FONTS:2001.font" (noreq))
  79.    (message BLA.FNT)
  80.    (
  81.     (copyfiles (prompt (BLA.CPY "2001.font" "FONTS:") )
  82.                (help @copyfiles-help)
  83.                (source "/fonts/")
  84.                (dest "FONTS:")
  85.                (all)
  86.                (confirm)
  87.     )
  88.    )
  89.   )
  90.  )
  91. )
  92.  
  93. (exit)
  94.